feat(knowledge): Redis memory graph schema — entity/relation indexes and chat integration (#3385)#3608
Closed
mrveiss wants to merge 2 commits intoDev_new_guifrom
Closed
feat(knowledge): Redis memory graph schema — entity/relation indexes and chat integration (#3385)#3608mrveiss wants to merge 2 commits intoDev_new_guifrom
mrveiss wants to merge 2 commits intoDev_new_guifrom
Conversation
Owner
Author
Review fixes applied ✓
All 28 tests passing. |
mrveiss
added a commit
that referenced
this pull request
Apr 6, 2026
Sync tasks lacked notify — service ran stale code after rsync, causing 502 on /api/health and login failures. All three sync tasks now notify handlers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
Author
|
Superseded by #3616 which consolidates all memory graph code (including semantic search) into the canonical |
✅ SSOT Configuration Compliance: Passing🎉 No hardcoded values detected that have SSOT config equivalents! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3385
Implements Week 1 foundation from
docs/database/REDIS_MEMORY_GRAPH_SPECIFICATION.md.Summary
schema.py— Redis key patterns (memory:entity:,memory:relations:out/in:), index names,ENTITY_TYPES,RELATION_TYPES,ensure_indexes()(issuesFT.CREATE memory_entity_idxandFT.CREATE memory_fulltext_idxmatching spec exactly)graph_store.py—create_entity(),get_entity(),create_relation()(bidirectional),get_outgoing_relations(),get_incoming_relations(),traverse_relations()(BFS, depth-limited, cycle-safe)__init__.py— Package re-exports public APITests
28 unit tests, all passing (
graph_store_test.py). Redis fully mocked.Design decisions
database="knowledge"(DB 1) — consistent with existingautobot_memory_graphpackageOut of scope (Weeks 2–4)
Multi-hop query patterns, conversation migration, and chat integration will be addressed in follow-up issues.